package com.example.myapplication.adapter;

//封装数据实体
public class FoodInfo {
    private int icon;
    private String title;
    private String content;

    //定义实体类的构造方法
    public FoodInfo(int icon,String title,String content){
        this.icon = icon;
        this.title = title;
        this.content = content;
    }

    public int getIcon() {
        return icon;
    }

    public String getTitle() {
        return title;
    }

    public String getContent() {
        return content;
    }
}
